import request from '@/utils/request'

export function getProductList(data) {
  return request({
    url: '/goods/get_goods_list',
    method: 'post',
    data
  })
}

export function addProduct(data) {
  return request({
    url: '/goods/add_goods',
    method: 'post',
    data
  })
}

export function editProduct(data) {
  return request({
    url: '/goods/update_goods',
    method: 'post',
    data
  })
}
